package com.hue.gulimail.gulimailproduct.feign;

import com.hue.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient("gulimail-ware")
public interface WareFeignService {
    /**
     * 根据skuIds查询对应的skuId是是否有库存
     */
    @PostMapping("/gulimailware/waresku/hasStock")
    public R hasStock(@RequestBody List<Long> skuIds);
}
